package com.szsh.aiot.hsm.dto.ability;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

/**
 * 能力总线post请求公用的属性
 * 
 * @author
 *
 */
public class AbilityRequest {

    @SerializedName("OperateID")
    private String operateID;

    @SerializedName("ProvinceID")
    private String provinceID;

    @SerializedName("AppID")
    private String appID;

    @SerializedName("Secret")
    private String secret;

    private String token;
    /**
     * 网关mac
     */
    @SerializedName("MAC")
    private String mac;

    private Object body;

    public String getOperateID() {
        return operateID;
    }

    public void setOperateID(String operateID) {
        this.operateID = operateID;
    }

    public String getProvinceID() {
        return provinceID;
    }

    public void setProvinceID(String provinceID) {
        this.provinceID = provinceID;
    }

    public String getAppID() {
        return appID;
    }

    public void setAppID(String appID) {
        this.appID = appID;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

}
